#ifndef __START_SCENE_H__
#define __START_SCENE_H__
#include "cocos2d.h"

using namespace cocos2d;
class StartScene : public cocos2d::CCLayer
{
	CCSprite* bgSprite;
	CCMenuItemImage* btn_AboutUs;
	CCMenuItemImage* btn_ShareApp;
	CCMenu* pMenu;
	CCSize visibleSize;
public:

	// Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
	virtual bool init();

	// there's no 'id' in cpp, so we recommend returning the class instance pointer
	static cocos2d::CCScene* scene();

	// a selector callback
	void menuCloseCallback(CCObject* pSender);

	CREATE_FUNC(StartScene);
	virtual ~StartScene();
	void addNewButton(char level, CCPoint pos, CCMenu* menu);
	virtual void keyBackClicked();
	void btnAboutUs(CCObject* pSender);
	void btnRateApp(CCObject* pSender);
};

#endif // __HELLOWORLD_SCENE_H__
